<?php  
namespace app\index\model;  
use think\Model;  
class Banner extends Model{  
    protected $pk = 'id';
}